package com.go.ssh.point.service;

import com.go.ssh.commons.service.IBaseService;
import com.go.ssh.point.exception.UserExistsException;
import com.go.ssh.point.exception.UserNotFoundException;
import com.go.ssh.point.model.UserModel;

public interface IAccountService extends IBaseService<UserModel, Integer> {
	public UserModel login(UserModel user) throws UserNotFoundException;
	public UserModel register(UserModel user) throws UserExistsException;
}
